<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta http-equiv="Expires" CONTENT="-1">
<meta http-equiv="Cache-Control" CONTENT="no-cache">
<meta http-equiv="Pragma" CONTENT="no-cache">
<link rel="stylesheet" href="{:C('VSHOP_CSS')}person.css"/>
<script src="{:C('VSHOP_JS')}jquery-1.9.1.min.js"></script>
<script src="{:C('VSHOP_JS')}public.js"></script>
</head>
<body>
<header>
  <div class="head"><a href="#" class="head-return"></a>
    <h2 class="head-title">我的订单</h2>
  </div>
</header>
<div class="cart-pro-box">
  <ul>
  <if condition="$userinfo neq ''">
    <li class="title"><em></em><span class="tit consignee">{$userinfo['consignee']}</span><span class="phone-num">{$userinfo['phone']}</span></li>
    <div class="blank10"></div>
    <li class="info-bg"> <p><i class='province'>{$userinfo['province']}</i> &nbsp;<i class='city'>{$userinfo['city']}</i>&nbsp;<i class='county'>{$userinfo['county']}</i> </p></li>
    <li class="info-bg" > <p class="address">{$userinfo['street']}</p></li>
    <li class="info-bg" id="address" ><a href="{:U('Address/index')}" style="color:#9c0000 ">更换默认地址 </a> </li>
    <div class="blank10"></div>
    <else/>
    <div class="blank10"></div>
   <!--  <li class="info-bg" > <a href="{:U('Address/address')}" target="_blank" >请添加默认收货地址</a> </li> -->
   <ul>
    <a href="{:U('Address/address?action=confirmorder')}" target="_blank">
    <img src="{:C('VSHOP_IMG')}img-pub/add.png" style="margin:10px 0 0 20px; display:block; float:left;"></a>
    <span style="margin:30px 0 0 20px; display:block; float:left;"><a href="{:U('Address/address?action=confirmorder')}" target="_blank">添加收货地址</a> </span>
    </a>
    <div class="blank10"></div>
  </ul>
     
    </if>

  </ul>
  <dl>
    <main>
    <foreach name='iteminfo' item='item'>
      <dd><span class="left-pic"><img src="{:C('SITENAME')}{$item['imgurl']}"></span><span class="right-info">
        <p class="f14">{$item['itemname']}...</p>
        <p class="gray f12">规格：{$item['speci']}</p>
        <p><strong class="red f14">￥{$item['totalprice']}</strong></p>
        </span>
        <div class="price">
          <p>x1</p>
        </div>
      </dd>
      <br/>
      </foreach>
      <dd class="account">
        <p><span class="left">商品金额：</span><strong class="right">￥<i>{$countprice}</i> 元</strong></p>
        <p class="mt-10"><span class="left">总金额：</span><strong class="right red f14px">￥<i> {$countprice}</i> 元</strong></p>
      </dd>
      <div class="blank15"></div>
      <a href="javascript:void(0);" class="btn-red" onclick=$.Order.confirm() >确认订单</a> </main>
  </dl>
</div>
<div class="blank10"></div>
<script src="{:C('VSHOP_JS')}home.js"></script>
</body>
</html>
